package com.ssh.manager;

import java.util.List;
import java.util.Map;

import com.ssh.common.util.Page;
import com.ssh.entity.MarketAnalysis;

public interface MarketAnalysisManager {
	/**
	 * 根据条件分页查询
	 * @param conditionMap
	 * @param page
	 * @param isDesc
	 */
	public void findList(Map conditionMap, Page page, String isDesc);
	
	/**
	 * 查询全部
	 * @return
	 */
	public List<MarketAnalysis> findAll();
	
	public boolean delete(long id);
	
	public MarketAnalysis getById(long id);
	
	public MarketAnalysis saveUpdate(MarketAnalysis marketAnalysis);
	
	/**
	 * 根据条件分组查询
	 * @param timeType
	 * @param orderBy
	 * @return
	 */
	public List<MarketAnalysis> findByCondition(int timeType, int orderBy);
}
